using System;
using System.Collections.Generic;
using System.Text;

using NBear.Common;

namespace NBear.Test.temp
{
    namespace Entity
    {
        public class AgentUser
        {
            public static PropertyItem LoginId = new PropertyItem("LoginId");
            public static PropertyItem Id = new PropertyItem("Id");
            public static PropertyItem Name = new PropertyItem("Name");
            public static PropertyItem PrivilegeOwnerId = new PropertyItem("PrivilegeOwnerId");
        }

        public class GhostUser
        {
            public static PropertyItem Id = new PropertyItem("Id");
            public static PropertyItem Name = new PropertyItem("Name");
            public static PropertyItem PrivilegeOwnerId = new PropertyItem("PrivilegeOwnerId");
        }

        public class IdentableEntity
        {
            public static PropertyItem Id = new PropertyItem("Id");
            public static PropertyItem Name = new PropertyItem("Name");
        }

        public class IdFactory
        {
            public static PropertyItem NextId = new PropertyItem("NextId");
        }

        public class LocalUser
        {
            public static PropertyItem Password = new PropertyItem("Password");
            public static PropertyItem LoginId = new PropertyItem("LoginId");
            public static PropertyItem Id = new PropertyItem("Id");
            public static PropertyItem Name = new PropertyItem("Name");
            public static PropertyItem PrivilegeOwnerId = new PropertyItem("PrivilegeOwnerId");
        }

        public class Loginable
        {
            public static PropertyItem LoginId = new PropertyItem("LoginId");
        }

        public class PasswordLoginable
        {
            public static PropertyItem Password = new PropertyItem("Password");
            public static PropertyItem LoginId = new PropertyItem("LoginId");
        }

        public class PrivilegeAssignable
        {
            public static PropertyItem PrivilegeOwnerId = new PropertyItem("PrivilegeOwnerId");
        }

        public class User
        {
            public static PropertyItem Id = new PropertyItem("Id");
            public static PropertyItem Name = new PropertyItem("Name");
            public static PropertyItem PrivilegeOwnerId = new PropertyItem("PrivilegeOwnerId");
        }

        public class UserGroup
        {
            public static PropertyItem Comment = new PropertyItem("Comment");
            public static PropertyItem Id = new PropertyItem("Id");
            public static PropertyItem Name = new PropertyItem("Name");
            public static PropertyItem PrivilegeOwnerId = new PropertyItem("PrivilegeOwnerId");
        }

        namespace OrderBy
        {
            public class AgentUser
            {
                public static OrderByClip LoginId = new OrderByClip(Entity.AgentUser.LoginId, false);
                public static OrderByClip LoginId_Desc = new OrderByClip(Entity.AgentUser.LoginId, true);
                public static OrderByClip Id = new OrderByClip(Entity.AgentUser.Id, false);
                public static OrderByClip Id_Desc = new OrderByClip(Entity.AgentUser.Id, true);
                public static OrderByClip Name = new OrderByClip(Entity.AgentUser.Name, false);
                public static OrderByClip Name_Desc = new OrderByClip(Entity.AgentUser.Name, true);
                public static OrderByClip PrivilegeOwnerId = new OrderByClip(Entity.AgentUser.PrivilegeOwnerId, false);
                public static OrderByClip PrivilegeOwnerId_Desc = new OrderByClip(Entity.AgentUser.PrivilegeOwnerId, true);
            }

            public class GhostUser
            {
                public static OrderByClip Id = new OrderByClip(Entity.GhostUser.Id, false);
                public static OrderByClip Id_Desc = new OrderByClip(Entity.GhostUser.Id, true);
                public static OrderByClip Name = new OrderByClip(Entity.GhostUser.Name, false);
                public static OrderByClip Name_Desc = new OrderByClip(Entity.GhostUser.Name, true);
                public static OrderByClip PrivilegeOwnerId = new OrderByClip(Entity.GhostUser.PrivilegeOwnerId, false);
                public static OrderByClip PrivilegeOwnerId_Desc = new OrderByClip(Entity.GhostUser.PrivilegeOwnerId, true);
            }

            public class IdentableEntity
            {
                public static OrderByClip Id = new OrderByClip(Entity.IdentableEntity.Id, false);
                public static OrderByClip Id_Desc = new OrderByClip(Entity.IdentableEntity.Id, true);
                public static OrderByClip Name = new OrderByClip(Entity.IdentableEntity.Name, false);
                public static OrderByClip Name_Desc = new OrderByClip(Entity.IdentableEntity.Name, true);
            }

            public class IdFactory
            {
                public static OrderByClip NextId = new OrderByClip(Entity.IdFactory.NextId, false);
                public static OrderByClip NextId_Desc = new OrderByClip(Entity.IdFactory.NextId, true);
            }

            public class LocalUser
            {
                public static OrderByClip Password = new OrderByClip(Entity.LocalUser.Password, false);
                public static OrderByClip Password_Desc = new OrderByClip(Entity.LocalUser.Password, true);
                public static OrderByClip LoginId = new OrderByClip(Entity.LocalUser.LoginId, false);
                public static OrderByClip LoginId_Desc = new OrderByClip(Entity.LocalUser.LoginId, true);
                public static OrderByClip Id = new OrderByClip(Entity.LocalUser.Id, false);
                public static OrderByClip Id_Desc = new OrderByClip(Entity.LocalUser.Id, true);
                public static OrderByClip Name = new OrderByClip(Entity.LocalUser.Name, false);
                public static OrderByClip Name_Desc = new OrderByClip(Entity.LocalUser.Name, true);
                public static OrderByClip PrivilegeOwnerId = new OrderByClip(Entity.LocalUser.PrivilegeOwnerId, false);
                public static OrderByClip PrivilegeOwnerId_Desc = new OrderByClip(Entity.LocalUser.PrivilegeOwnerId, true);
            }

            public class Loginable
            {
                public static OrderByClip LoginId = new OrderByClip(Entity.Loginable.LoginId, false);
                public static OrderByClip LoginId_Desc = new OrderByClip(Entity.Loginable.LoginId, true);
            }

            public class PasswordLoginable
            {
                public static OrderByClip Password = new OrderByClip(Entity.PasswordLoginable.Password, false);
                public static OrderByClip Password_Desc = new OrderByClip(Entity.PasswordLoginable.Password, true);
                public static OrderByClip LoginId = new OrderByClip(Entity.PasswordLoginable.LoginId, false);
                public static OrderByClip LoginId_Desc = new OrderByClip(Entity.PasswordLoginable.LoginId, true);
            }

            public class PrivilegeAssignable
            {
                public static OrderByClip PrivilegeOwnerId = new OrderByClip(Entity.PrivilegeAssignable.PrivilegeOwnerId, false);
                public static OrderByClip PrivilegeOwnerId_Desc = new OrderByClip(Entity.PrivilegeAssignable.PrivilegeOwnerId, true);
            }

            public class User
            {
                public static OrderByClip Id = new OrderByClip(Entity.User.Id, false);
                public static OrderByClip Id_Desc = new OrderByClip(Entity.User.Id, true);
                public static OrderByClip Name = new OrderByClip(Entity.User.Name, false);
                public static OrderByClip Name_Desc = new OrderByClip(Entity.User.Name, true);
                public static OrderByClip PrivilegeOwnerId = new OrderByClip(Entity.User.PrivilegeOwnerId, false);
                public static OrderByClip PrivilegeOwnerId_Desc = new OrderByClip(Entity.User.PrivilegeOwnerId, true);
            }

            public class UserGroup
            {
                public static OrderByClip Comment = new OrderByClip(Entity.UserGroup.Comment, false);
                public static OrderByClip Comment_Desc = new OrderByClip(Entity.UserGroup.Comment, true);
                public static OrderByClip Id = new OrderByClip(Entity.UserGroup.Id, false);
                public static OrderByClip Id_Desc = new OrderByClip(Entity.UserGroup.Id, true);
                public static OrderByClip Name = new OrderByClip(Entity.UserGroup.Name, false);
                public static OrderByClip Name_Desc = new OrderByClip(Entity.UserGroup.Name, true);
                public static OrderByClip PrivilegeOwnerId = new OrderByClip(Entity.UserGroup.PrivilegeOwnerId, false);
                public static OrderByClip PrivilegeOwnerId_Desc = new OrderByClip(Entity.UserGroup.PrivilegeOwnerId, true);
            }

        }
    }

}
